package com.ruoyi.counter.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工单明细对象 workordersub
 * 
 * @author xll
 * @date 2021-08-02
 */
public class Workordersub extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID锛岄€掑 */
    private Long id;

    /** 工单id */
    @Excel(name = "工单id")
    private Long workid;

    /** 工单编号 */
    @Excel(name = "工单编号")
    private String toolsno;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String toolsname;

    /** 数量 */
    @Excel(name = "数量")
    private Long num;

    /** 数量 */
    @Excel(name = "数量")
    private Long picknum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWorkid(Long workid) 
    {
        this.workid = workid;
    }

    public Long getWorkid() 
    {
        return workid;
    }
    public void setToolsno(String toolsno) 
    {
        this.toolsno = toolsno;
    }

    public String getToolsno() 
    {
        return toolsno;
    }
    public void setToolsname(String toolsname) 
    {
        this.toolsname = toolsname;
    }

    public String getToolsname() 
    {
        return toolsname;
    }
    public void setNum(Long num) 
    {
        this.num = num;
    }

    public Long getNum() 
    {
        return num;
    }
    public void setPicknum(Long picknum) 
    {
        this.picknum = picknum;
    }

    public Long getPicknum() 
    {
        return picknum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("workid", getWorkid())
            .append("toolsno", getToolsno())
            .append("toolsname", getToolsname())
            .append("num", getNum())
            .append("picknum", getPicknum())
            .toString();
    }
}
